package com.xsjt.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户实体类
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public class User implements Serializable{

	private int id;
	private String userName;
	private String userPass;
	private String phone;
	private Date birth;
	private BigDecimal totleMoney;
	private String remark;
	
	public User() {
		super();
	}
	
	public User(int id, String userName, String userPass, String phone, Date birth, BigDecimal totleMoney, String remark) {
		super();
		this.id = id;
		this.userName = userName;
		this.userPass = userPass;
		this.phone = phone;
		this.birth = birth;
		this.totleMoney = totleMoney;
		this.remark = remark;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public BigDecimal getTotleMoney() {
		return totleMoney;
	}
	public void setTotleMoney(BigDecimal totleMoney) {
		this.totleMoney = totleMoney;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", userPass=" + userPass + ", phone=" + phone + ", birth=" + birth + ", totleMoney=" + totleMoney + ", remark=" + remark + "]";
	}
	
}
